#ifndef SHIFT_LIBRARY_H
#define SHIFT_LIBRARY_H

#include <php.h>

//shift-libary
ZEND_BEGIN_ARG_INFO(arginfo_shiftIn, 0)
    ZEND_ARG_INFO(0, dPin)
    ZEND_ARG_INFO(0, cPin)
    ZEND_ARG_INFO(0, order)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO(arginfo_shiftOut, 0)
    ZEND_ARG_INFO(0, dPin)
    ZEND_ARG_INFO(0, cPin)
    ZEND_ARG_INFO(0, order)
    ZEND_ARG_INFO(0, val)
ZEND_END_ARG_INFO()
//end shift-libary

PHP_FUNCTION(shiftIn);
PHP_FUNCTION(shiftOut);

#endif